package cn.edu.sdjzu.xg.eagle.hairsalon.entity.view;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;

/**
 * 用户
 * 后端返回视图实体辅助类
 * （通常后端关联的表或者自定义的字段需要返回使用）
 * @author
 * @email
 * @date 2025-05-23 19:26:08
 */
@TableName("yonghu")
public class YonghuView  extends YonghuEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public YonghuView(){
    }

    public YonghuView(YonghuEntity yonghuEntity){
        try {
            BeanUtils.copyProperties(this, yonghuEntity);
        } catch (IllegalAccessException | InvocationTargetException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }



}
